package com.joysuch.wwyt.bp.repository;

import com.joysuch.wwyt.bp.entity.BpStoreMaterialType;
import com.joysuch.wwyt.bp.entity.BpStoreMaterialUnit;
import org.springframework.data.jpa.repository.JpaRepository;

public interface BpStoreMaterialUnitDao extends JpaRepository<BpStoreMaterialUnit,Long> {
    BpStoreMaterialUnit findByName(String name);

    String findNameById(Long unitId);
}
